package com.jeecms.wicool.dao.activities;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.activities.SpecialInfo;

public interface SpecialInfoDao {
	public Pagination getPage(String title,Date publishTime, int pageNo, int pageSize);
	public SpecialInfo findById(Integer id);
	public SpecialInfo updateByUpdater(Updater<SpecialInfo> updater);
	public SpecialInfo update(SpecialInfo  entity);	
	public SpecialInfo save(SpecialInfo bean);
	public SpecialInfo deleteById(Integer id);
	public ArrayList<SpecialInfo>  deleteByIds(Integer[] ids);
	public List<SpecialInfo> getAll(CmsUser SpecialInfo);
}
